package com.aya.tb.context;

import com.aya.tb.CodeProcessor;
import com.aya.tb.RequestMap;
import io.netty.channel.ChannelHandlerContext;

import java.io.IOException;

/**
 * 响应解析器
 *
 * 支持单发，群发
 */
public interface ResponseHandler {
    public void resolve(Object res, RequestMap requestMap, ChannelHandlerContext ctx, CodeProcessor container) throws IOException;
}
